/*
 * 文件名：MVCHandlerInterceptor.java	 
 * 时     间：下午3:22:59
 * 作     者：SYSTEM       
 * 版     权： 2014-2022  智慧园区, 公司保留所有权利.
 * 联     系：www.szyungu.com
 */
package com.luckeys.spring.mvc;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

/**
 * @ClassName: MVCHandlerInterceptor
 * @Description: (控制器方法拦截器器，预留.)
 * @author lyf
 * @date 2014年6月27日 下午3:22:59
 */
public class MVCHandlerInterceptor extends HandlerInterceptorAdapter
{
	
	/**
	 * 该方法控制权限,判断逻辑很简单，先保证请求用户为登录用户.
	 */
	@Override
	public boolean preHandle(HttpServletRequest request,
			HttpServletResponse response, Object handler) throws Exception
	{
		return super.preHandle(request, response, handler);
	}
	
	@Override
	public void postHandle(HttpServletRequest request,
			HttpServletResponse response, Object handler,
			ModelAndView modelAndView) throws Exception
	{
		
		super.postHandle(request, response, handler, modelAndView);
	}
	
}
